<script setup>
import { onMounted } from 'vue'

const onResize = (a, b, c) => {
  console.log(a, b, c)
}

onMounted(() => {})
</script>

<template>
  <div>
    <div>TestResize</div>
    <textarea
      v-resize="onResize"
      placeholder="请输入"
      name="resize"
      id="resize"
      cols="30"
      rows="10"
    ></textarea>
  </div>
</template>

<style>
.resize {
  resize: both;
  overflow: auto;
}
</style>
